package com.yhgarden.bbs.entity;


import com.yhgarden.bbs.model.helper.Pager;
import com.yhgarden.bbs.model.helper.SortPointer;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author Laijiaxiang
 */
@Data
public class BaseDTO implements Serializable {
    private static final long serialVersionUID = 6021214004645347371L;
    private Pager pager;
    private SortPointer sortPointer;//普通排序
    private List<SortPointer> sortPointers;//多条件排序
    private Map<String,List<String>> customSort;//自定义排序：{"id":["3","5","2","4","1"]}

}
